import Vue from 'vue';
import Vuex from 'vuex';
import home from './home'
import user from './user'
Vue.use(Vuex)

const actions ={}

const mutations = {}

const state = {
    a:1,
    b:2
}
const getters = {}
export default new Vuex.Store({
    actions,
    mutations,
    state,
    getters,
    modules:{
        home,
        user
    }
})